package com.wu.constant.Enum;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author Cousin
 * @date 2025/1/13
 * @Description
 */
@AllArgsConstructor
@Getter
public enum TimeFormatEnum {
    YYYYMMDDHHMMSS("yyyyMMddHHmmss","数据库存储到秒的格式"),
    YYYYMMDD("yyyyMMdd","数据库存储到天的格式"),
    YYYY_MM_DD_HH_MM_SS("yyyy-MM-dd HH:mm:ss","返回给前端到秒的格式");
    private final String format;
    private final String desc;
}
